# cmake_minimum_required(VERSION <specify CMake version here>)
project(cedcpp_clion)
cmake_minimum_required(VERSION 3.13)
set(CMAKE_CXX_STANDARD 11)

#add_executable(cedcpp_clion main.cpp  )
#add_executable(cedcpp_clion2        test.cpp )
#add_executable(cedcpp_clion3  ClassTest.cpp )
#add_executable(cedcpp_clion4   rv.cpp )

file(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp")
foreach(file ${files})
    get_filename_component(name ${file} NAME)
    add_executable(${name} ${file}  )
endforeach()

file(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/thread/*.cpp")
foreach(file ${files})
    get_filename_component(name ${file} NAME)
    add_executable(${name} ${file}  )
endforeach()

